/// 群聊数据模型
class GroupChatPrint {
  final String id;
  final String title; // 群聊标题
  final String imageUrl; // 群聊图片路径
  final String description; // 群聊描述
  final List<String> memberIds; // 成员用户ID列表
  final DateTime createdAt; // 创建时间

  GroupChatPrint({
    required this.id,
    required this.title,
    required this.imageUrl,
    required this.description,
    required this.memberIds,
    required this.createdAt,
  });
}

/// 群聊消息数据模型
class GroupChatMessagePrint {
  final String id;
  final String groupId; // 群聊ID
  final String userId; // 发送者ID
  final String content; // 消息内容
  final DateTime createdAt; // 发送时间

  GroupChatMessagePrint({
    required this.id,
    required this.groupId,
    required this.userId,
    required this.content,
    required this.createdAt,
  });
}
